﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Resources;
using System.Reflection;

namespace Cash_n_guns
{
    public partial class MainWindow : Form
    {
        public static ResourceManager rm = new ResourceManager("Cash_n_guns.gameImages", Assembly.GetExecutingAssembly());

        public MainWindow()
        {
            InitializeComponent();
            //NewGameSelectionWindow newgame = new NewGameSelectionWindow();
            //newgame.ShowDialog();
            GameLogic game = new GameLogic();
        }

        private void MainWindow_Load(object sender, EventArgs e)
        {
            playerControl1 = new PlayerControl("Siggi");
            playerControl2 = new PlayerControl("Hallo");
        }

        private void exitToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }

        private void gameplayToolStripMenuItem_Click(object sender, EventArgs e)
        {
            GamePlayWindow gpw = new GamePlayWindow();
            gpw.ShowDialog();
        }
    }
}
